<template>
    <div>
        <van-list
        v-model="loading"
        :finished="finished"
        finished-text="没有更多了">
        <van-cell v-for="item in inputArr" :key="item" :title="item" @click="inputTag(item)" />
</van-list>
    </div>
</template>

<script>
export default {
    props:["inputArr"],
    data() {
            return {
                list: [],
                loading: false,
                finished: true,
            };
        },
  methods: {
           inputTag(val){
              this.$emit("inputOn",val )
           }
     
          },

}
</script>

<style>

</style>